package com.syh.jn.scm.service.api.supplier.system;

import com.syh.jn.scm.dto.supplier.system.supplierAccountOfPhone.SupplierAccountOfPhoneMto;
import com.syh.jn.scm.dto.supplier.system.supplierAccountOfPhone.SupplierAccountOfPhoneSto;
import com.syh.jn.scm.dto.supplier.system.supplierAccountOfPhone.SupplierAccountOfPhoneVo;
import com.syh.jn.scm.service.core.CreateService;
import com.syh.jn.scm.service.core.DeleteService;
import com.syh.jn.scm.service.core.ReadService;
import com.syh.jn.scm.service.core.UpdateService;

/**
 * Created by soci.song on 2018/12/13.
 */
public interface SupplierAccountOfPhoneService extends ReadService<SupplierAccountOfPhoneVo,Long>,CreateService<SupplierAccountOfPhoneSto,Long>,UpdateService<SupplierAccountOfPhoneMto>,DeleteService<Long> {

    SupplierAccountOfPhoneVo verifyAccountPassword(String loginPhone, String password);

    void binding(Long id, Long accountId);

    void untying(Long id, Long accountId);

    void defaultSign(Long id, Long accountId);

    void enable(Long id);

    void disable(Long id);
}
